/*  This is mada by Kent    
 *  This source is made by Funms Team
 *  功能：色彩斑斓混合染色券
 *  @Author Kent 
 */


var status = 0;


function start() {
    status = -1;
    action(1, 0, 0);
}

function action(mode, type, selection) {
    if (mode == 0) {
        im.sendOk("你可以随时随地的进行混合染色哟！");
        im.dispose();
        return;
    } else {
        status++;
    }
    if (status == 0) {
        im.getAskCustomMIXHair("把两种颜色混合后，可以改变发色。请选择底色和混合色，拉动滚动条，创作出属于自己的发色吧。");
    } else if (status == 1) {
        im.used();
        im.sendOk("好啦！快让小伙伴们看看你的新颜色吧！");
        im.dispose();
    }
}